import { SETTINGS_DROPDOWN_ROUTE, SETTINGS_ROUTE } from '@/constants/routes';

import Settings from '@/components/Settings';
import DropdownList from '@/components/Settings/DropdownList';

export default {
    path: '/settings',
    name: SETTINGS_ROUTE,
    meta: '系统设置',
    redirect: { name: SETTINGS_DROPDOWN_ROUTE },

    component: Settings,

    children: [
        {
            path: 'dropdown',
            name: SETTINGS_DROPDOWN_ROUTE,
            meta: '下拉框管理',
            component: DropdownList
        }
    ]
};
